package com.lgh.springframework.context;

/**
 * ******************************************************
 *
 * @author liugh9
 * @version 1.0
 * @classname ApplicationEventPublisher
 * @description
 * @date 2023/03/01 21:29
 * <p>
 * ******************************************************
 */
public interface ApplicationEventPublisher {

    /**
     * Notify all listeners registered with this application of an application
     * event. Events may be framework events (such as RequestHandledEvent)
     * or application-specific events.
     * @param event the event to publish
     */
    void publishEvent(ApplicationEvent event);

}
